﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ConsultarEntidad.aspx.cs" Inherits="SOA_General_ConsultarEntidad" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit.HTMLEditor"
    TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <script type="text/javascript">
        if (window.dialogArguments) {
            window.opener = window.dialogArguments;
        }
    </script>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">

    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
            
    <div id="contenedor800">
        <table border = "0" cellpadding = "0" cellspacing = "0" style="width:100%">
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" Text=":: Consultar Entidad"  SkinID="labelsubTituloSkin"></asp:Label>            
                </td>
            </tr>
            <tr>
                <td style="height:10px"><hr id="separador1" /></td>
            </tr>
        </table>

        <table border = "0" cellpadding = "0" cellspacing = "0" style="width:100%">
        <tr>
            <td>
                <asp:Label ID="Label3" runat="server" Text="Opciones de Búsqueda" 
                    SkinID="labelTituloPANEL" ></asp:Label>
                <asp:Panel ID="Panel1" runat="server" SkinID="panelSkin">
                <table border = "0" cellpadding = "2" cellspacing = "0" style="width:100%">
                    <tr><td  style="height:3px" colspan="4"></td></tr>
                    <tr>
                        <td style="width:10px"></td>
                        <td style="width:50px">
                            <asp:Label ID="Label4" runat="server" Text="Entidad" SkinID="labelTextSkin"></asp:Label>
                        </td>
                        <td  style="width:12px">
                            <asp:TextBox ID="txtEntidad" runat="server" SkinID="CajaTextoSkin" 
                                Width="480px"></asp:TextBox>                      
                            </td>
                        <td >&nbsp;
                            <asp:ImageButton ID="imbBuscar" runat="server" 
                                ImageUrl="~/imagenes/btn_buscar0.png" onclick="imbBuscar_Click" 
                                Height="27px" />
                        </td>
                    </tr>
                    <tr><td  style="height:3px" colspan="4"></td></tr>
                </table>
                </asp:Panel>
            </td>       
        </tr>
        </table>

        <table border = "0" cellpadding = "0" cellspacing = "0" style="width:100%">
        <tr>
            <td>
                <asp:Label ID="Label24" runat="server" Text="Datos Generales" 
                    SkinID="labelTituloPANEL" ></asp:Label>
                <asp:Panel ID="Panel6" runat="server" SkinID="panelSkin">
                <table border = "0" cellpadding = "2" cellspacing = "0" style="width:100%">
                    <tr>
                        <td style="height:200px; vertical-align:top;">
                            <asp:GridView ID="grvLista" runat="server" 
                                Width="100%" AutoGenerateColumns="False" 
                                AllowPaging="True" AllowSorting="True" 
                                SkinID="gridviewSkin" BorderColor="Gray" BorderStyle="Solid" 
                                BorderWidth="1px" CellPadding="4" ForeColor="#333333" 
                                GridLines="None" ShowHeaderWhenEmpty="True" CellSpacing="1" 
                                EnableSortingAndPagingCallbacks="True" 
                                onpageindexchanging="grvLista_PageIndexChanging"> 
                                <AlternatingRowStyle BackColor="White" ForeColor="#333333" />
                                <Columns>
                                    <asp:BoundField DataField="cent_Codigo" HeaderText="Código">
                                    <ItemStyle Width="8%" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="cent_nombre" HeaderText="Descripción">
                                    <ItemStyle Width="30%" />
                                    </asp:BoundField>
                                    <asp:CommandField ShowSelectButton="True">
                                    <ItemStyle Width="4%" />
                                    </asp:CommandField>
                                </Columns>
                                <EditRowStyle BackColor="#999999" />
                                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" 
                                    Height="30px" />
                                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" 
                                    Height="30px" />
                                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" Height="24px" />
                                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                <SortedAscendingCellStyle BackColor="#E9E7E2" />
                                <SortedAscendingHeaderStyle BackColor="#506C8C" />
                                <SortedDescendingCellStyle BackColor="#FFFDF8" />
                                <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                             </asp:GridView>                            
                        </td>
                    </tr>
                    </table>
                </asp:Panel>
            </td>       
        </tr>
        </table>
        <table border = "0" cellpadding = "2" cellspacing = "0" style="width:100%">
            <tr><td style="height:5px">
                <asp:Label ID="lblMsj" runat="server" Text="Label" SkinID="labelMsjSkin"  Visible="False"></asp:Label>
            </td></tr>
            <tr>
                <td style = "width:100%;">
                    <asp:ImageButton ID="imbAceptar" runat="server" 
                        ImageUrl="~/imagenes/btn_aceptar1.png" 
                        ToolTip="Aceptar entidad" />
                    &nbsp;&nbsp;<asp:ImageButton ID="imbCerrar" runat="server" 
                        ImageUrl="~/imagenes/btn_cerrar1.png" 
                        ToolTip="Cerrar entidad" onclick="imbCerrar_Click"  />
                    &nbsp;</td>
            </tr>
        </table>

    </div>

    </ContentTemplate>
</asp:UpdatePanel>


    </form>
</body>
</html>
